package model.xpdl2
{
	public class WorkflowProcesses
	{
		private var workflowProcess:WorkflowProcess;
		
		public function WorkflowProcesses()
		{
			workflowProcess=new WorkflowProcess();
		}
		
		public function genXML():String{
			var xml:String;
			var nspre:String="xpdl2";
			xml="<"+nspre+"WorkflowProcesses>\n";
			xml+=workflowProcess.genXML();
			xml+="</"+nspre+"WorkflowProcesses>\n";
			return xml;
		}
		
		public function getProcess():WorkflowProcess{
			return this.workflowProcess;
		}
	
		public function setProcess(process:WorkflowProcess){
			this.workflowProcess=process;
		}
	}
}